% First load graph with all OD vs. concentration plotted
[X,Y] = get_data_from_figure;


%% Plot specific carbon source
k = 5;
x = X{k};
y = Y{k};

figure;
plot(x,y, 'ko');

%% perform fitting and plot
xfit = x(2:end);
yfit = y(2:end);

p = polyfit(xfit,yfit, 1);
hold on;
plot(x,polyval(p,x), 'r');